mkdir code
cd code
#repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony_release_v1.1.0 --no-repo-verify
#repo sync -c -j16
if [ ! -f code-1.1.0.tar.gz ]; then
wget https://repo.huaweicloud.com/harmonyos/os/1.1.0/code-1.1.0.tar.gz
fi
rm -rf code-1.1.0
tar -xvaf code-1.1.0.tar.gz
cd ..
echo install toolchain
sudo apt-get install gcc-arm-none-eabi
